﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._20_备忘录模式
{
    /// <summary>
    /// 快照(保存编辑状态)
    /// </summary>
    public class EditorMemento
    {
        public string Content { get; set; } 

        public EditorMemento(string content) {
            Content = content;
        }

    }
}
